<template>
  <header>
    <i class="iconfont icon-jiantouzuo" @click="withdraw"></i>
    <span>登陆</span>
  </header>
</template>

<script>
export default {
  methods: {
    withdraw() {
      this.$router.push("/");
    },
  },
};
</script>

<style lang="scss" scoped>
@import "@/common/style/mixin";
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 80px;
  text-align: center;
  line-height: 80px;
  font-size: 35px;
  background-color: #f7f7f7;
}
i {
  position: absolute;
  left: 20px;
  font-size: 45px;
}
</style>